package com.ruoyi.generator.service.sqlexec;

/**
 * 执行任务类
 */
public class SqlExecutionRecord {

    //任务标识
    private String target;
    //文件名称
    private String fileName;
    //文件大小
    private long fileSize;
    //当前处理状态 待处理PENDING, 处理中PROCESSING, 完成COMPLETED, 失败FAILED
    private String status;
    //成功条数
    private int successCount;
    //失败条数
    private int errorCount;
    //开始执行时间
    private Long startTimeMillis;
    //总用时（秒）
    private Long useTimeSeconds;

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public long getFileSize() {
        return fileSize;
    }

    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(int successCount) {
        this.successCount = successCount;
    }

    public int getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(int errorCount) {
        this.errorCount = errorCount;
    }

    public Long getStartTimeMillis() {
        return startTimeMillis;
    }

    public void setStartTimeMillis(Long startTimeMillis) {
        this.startTimeMillis = startTimeMillis;
    }

    public Long getUseTimeSeconds() {
        return useTimeSeconds;
    }

    public void setUseTimeSeconds(Long useTimeSeconds) {
        this.useTimeSeconds = useTimeSeconds;
    }
}
